package org.edu.modules.center.Bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import org.jeecgframework.poi.excel.annotation.Excel;

@TableName("ve_teach_weights")
@ApiModel(value="ve_teach_weights对象", description="考核权重")
public class VeTeachWeightsBo
        implements Serializable
{
    private static final long serialVersionUID = 1L;
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("配置ID")
    private String id;
    @Excel(name="考核项标识", width=15.0D)
    @ApiModelProperty("考核项标识")
    private String code;
    @Excel(name="考核项名称", width=15.0D)
    @ApiModelProperty("考核项名称")
    private String name;
    @Excel(name="是否关联考试 1=是 0=否", width=15.0D)
    @ApiModelProperty("是否关联考试 1=是 0=否")
    private Integer isexam;
    @Excel(name="备注说明", width=15.0D)
    @ApiModelProperty("备注说明")
    private String remark;
    @Excel(name="默认权重", width=15.0D)
    @ApiModelProperty("默认权重")
    private Integer weight;
    @Excel(name="排序", width=15.0D)
    @ApiModelProperty("排序")
    private Integer listsort;
    @Excel(name="满分条件", width=15.0D)
    @ApiModelProperty("满分条件")
    private Integer veCondition;
    @Excel(name="计算单位名称，%,个,分", width=15.0D)
    @ApiModelProperty("计算单位名称，%,个,分")
    private String unit;
    @Excel(name="启用状态 1=开启 0=禁用", width=15.0D)
    @ApiModelProperty("启用状态 1=开启 0=禁用")
    private Integer status;
    @Excel(name="多租户id", width=15.0D)
    @ApiModelProperty("多租户id")
    private Integer placeId;
    @Excel(name="课程id", width=15.0D)
    @ApiModelProperty("课程id")
    private Integer courseid;
    @Excel(name="课时", width=15.0D)
    @ApiModelProperty("课时")
    private Integer classHour;
    @Excel(name="期末成绩", width=15.0D)
    @ApiModelProperty("期末成绩")
    private Integer finalScore;
    @Excel(name="期中成绩", width=15.0D)
    @ApiModelProperty("期中成绩")
    private Integer midtermScore;
    @Excel(name="学时", width=15.0D)
    @ApiModelProperty("学时")
    private Integer studyTime;

    public VeTeachWeightsBo setName(String name)
    {
        this.name = name;return this;
    }

    public VeTeachWeightsBo setCode(String code)
    {
        this.code = code;return this;
    }

    public VeTeachWeightsBo setId(String id)
    {
        this.id = id;return this;
    }

    public String toString()
    {
        return "VeTeachWeightsBo(id=" + getId() + ", code=" + getCode() + ", name=" + getName() + ", isexam=" + getIsexam() + ", remark=" + getRemark() + ", weight=" + getWeight() + ", listsort=" + getListsort() + ", veCondition=" + getVeCondition() + ", unit=" + getUnit() + ", status=" + getStatus() + ", placeId=" + getPlaceId() + ", courseid=" + getCourseid() + ", classHour=" + getClassHour() + ", finalScore=" + getFinalScore() + ", midtermScore=" + getMidtermScore() + ", studyTime=" + getStudyTime() + ")";
    }

    public VeTeachWeightsBo setStudyTime(Integer studyTime)
    {
        this.studyTime = studyTime;return this;
    }

    public VeTeachWeightsBo setMidtermScore(Integer midtermScore)
    {
        this.midtermScore = midtermScore;return this;
    }

    public VeTeachWeightsBo setFinalScore(Integer finalScore)
    {
        this.finalScore = finalScore;return this;
    }

    public VeTeachWeightsBo setClassHour(Integer classHour)
    {
        this.classHour = classHour;return this;
    }

    public VeTeachWeightsBo setCourseid(Integer courseid)
    {
        this.courseid = courseid;return this;
    }

    public VeTeachWeightsBo setPlaceId(Integer placeId)
    {
        this.placeId = placeId;return this;
    }

    public VeTeachWeightsBo setStatus(Integer status)
    {
        this.status = status;return this;
    }

    public VeTeachWeightsBo setUnit(String unit)
    {
        this.unit = unit;return this;
    }

    public VeTeachWeightsBo setVeCondition(Integer veCondition)
    {
        this.veCondition = veCondition;return this;
    }

    public VeTeachWeightsBo setListsort(Integer listsort)
    {
        this.listsort = listsort;return this;
    }

    public VeTeachWeightsBo setWeight(Integer weight)
    {
        this.weight = weight;return this;
    }

    public VeTeachWeightsBo setRemark(String remark)
    {
        this.remark = remark;return this;
    }

    public VeTeachWeightsBo setIsexam(Integer isexam)
    {
        this.isexam = isexam;return this;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;Object $isexam = getIsexam();result = result * 59 + ($isexam == null ? 43 : $isexam.hashCode());Object $weight = getWeight();result = result * 59 + ($weight == null ? 43 : $weight.hashCode());Object $listsort = getListsort();result = result * 59 + ($listsort == null ? 43 : $listsort.hashCode());Object $veCondition = getVeCondition();result = result * 59 + ($veCondition == null ? 43 : $veCondition.hashCode());Object $status = getStatus();result = result * 59 + ($status == null ? 43 : $status.hashCode());Object $placeId = getPlaceId();result = result * 59 + ($placeId == null ? 43 : $placeId.hashCode());Object $courseid = getCourseid();result = result * 59 + ($courseid == null ? 43 : $courseid.hashCode());Object $classHour = getClassHour();result = result * 59 + ($classHour == null ? 43 : $classHour.hashCode());Object $finalScore = getFinalScore();result = result * 59 + ($finalScore == null ? 43 : $finalScore.hashCode());Object $midtermScore = getMidtermScore();result = result * 59 + ($midtermScore == null ? 43 : $midtermScore.hashCode());Object $studyTime = getStudyTime();result = result * 59 + ($studyTime == null ? 43 : $studyTime.hashCode());Object $id = getId();result = result * 59 + ($id == null ? 43 : $id.hashCode());Object $code = getCode();result = result * 59 + ($code == null ? 43 : $code.hashCode());Object $name = getName();result = result * 59 + ($name == null ? 43 : $name.hashCode());Object $remark = getRemark();result = result * 59 + ($remark == null ? 43 : $remark.hashCode());Object $unit = getUnit();result = result * 59 + ($unit == null ? 43 : $unit.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VeTeachWeightsBo;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VeTeachWeightsBo)) {
            return false;
        }
        VeTeachWeightsBo other = (VeTeachWeightsBo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$isexam = getIsexam();Object other$isexam = other.getIsexam();
        if (this$isexam == null ? other$isexam != null : !this$isexam.equals(other$isexam)) {
            return false;
        }
        Object this$weight = getWeight();Object other$weight = other.getWeight();
        if (this$weight == null ? other$weight != null : !this$weight.equals(other$weight)) {
            return false;
        }
        Object this$listsort = getListsort();Object other$listsort = other.getListsort();
        if (this$listsort == null ? other$listsort != null : !this$listsort.equals(other$listsort)) {
            return false;
        }
        Object this$veCondition = getVeCondition();Object other$veCondition = other.getVeCondition();
        if (this$veCondition == null ? other$veCondition != null : !this$veCondition.equals(other$veCondition)) {
            return false;
        }
        Object this$status = getStatus();Object other$status = other.getStatus();
        if (this$status == null ? other$status != null : !this$status.equals(other$status)) {
            return false;
        }
        Object this$placeId = getPlaceId();Object other$placeId = other.getPlaceId();
        if (this$placeId == null ? other$placeId != null : !this$placeId.equals(other$placeId)) {
            return false;
        }
        Object this$courseid = getCourseid();Object other$courseid = other.getCourseid();
        if (this$courseid == null ? other$courseid != null : !this$courseid.equals(other$courseid)) {
            return false;
        }
        Object this$classHour = getClassHour();Object other$classHour = other.getClassHour();
        if (this$classHour == null ? other$classHour != null : !this$classHour.equals(other$classHour)) {
            return false;
        }
        Object this$finalScore = getFinalScore();Object other$finalScore = other.getFinalScore();
        if (this$finalScore == null ? other$finalScore != null : !this$finalScore.equals(other$finalScore)) {
            return false;
        }
        Object this$midtermScore = getMidtermScore();Object other$midtermScore = other.getMidtermScore();
        if (this$midtermScore == null ? other$midtermScore != null : !this$midtermScore.equals(other$midtermScore)) {
            return false;
        }
        Object this$studyTime = getStudyTime();Object other$studyTime = other.getStudyTime();
        if (this$studyTime == null ? other$studyTime != null : !this$studyTime.equals(other$studyTime)) {
            return false;
        }
        Object this$id = getId();Object other$id = other.getId();
        if (this$id == null ? other$id != null : !this$id.equals(other$id)) {
            return false;
        }
        Object this$code = getCode();Object other$code = other.getCode();
        if (this$code == null ? other$code != null : !this$code.equals(other$code)) {
            return false;
        }
        Object this$name = getName();Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
            return false;
        }
        Object this$remark = getRemark();Object other$remark = other.getRemark();
        if (this$remark == null ? other$remark != null : !this$remark.equals(other$remark)) {
            return false;
        }
        Object this$unit = getUnit();Object other$unit = other.getUnit();return this$unit == null ? other$unit == null : this$unit.equals(other$unit);
    }

    public String getId()
    {
        return this.id;
    }

    public String getCode()
    {
        return this.code;
    }

    public String getName()
    {
        return this.name;
    }

    public Integer getIsexam()
    {
        return this.isexam;
    }

    public String getRemark()
    {
        return this.remark;
    }

    public Integer getWeight()
    {
        return this.weight;
    }

    public Integer getListsort()
    {
        return this.listsort;
    }

    public Integer getVeCondition()
    {
        return this.veCondition;
    }

    public String getUnit()
    {
        return this.unit;
    }

    public Integer getStatus()
    {
        return this.status;
    }

    public Integer getPlaceId()
    {
        return this.placeId;
    }

    public Integer getCourseid()
    {
        return this.courseid;
    }

    public Integer getClassHour()
    {
        return this.classHour;
    }

    public Integer getFinalScore()
    {
        return this.finalScore;
    }

    public Integer getMidtermScore()
    {
        return this.midtermScore;
    }

    public Integer getStudyTime()
    {
        return this.studyTime;
    }
}
